projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
372efa6
)
Fix [[:xdigit:]] glitch on Solaris
author
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 6 Jul 2019 14:48:15 +0000
(07:48 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 6 Jul 2019 14:49:54 +0000
(07:49 -0700)
* admin/charsets/mapconv: Revert this [[:xdigit:]] change.
Solaris 10 ‘sed’ does not support [[:xdigit:]].
admin/charsets/mapconv
patch
|
blob
|
history
diff --git
a/admin/charsets/mapconv
b/admin/charsets/mapconv
index 2696b13a52e8e0549aa9d202c57fb09b128e3624..8e19972f3dfbc5ab88b749ec107ef3fd8b0dc140 100755
(executable)
--- a/
admin/charsets/mapconv
+++ b/
admin/charsets/mapconv
@@
-118,7
+118,7
@@
elif [ "$3" = "IANA" ] ; then
# Source format is:
# 0xXX 0xYYYY
sed -n -e "${2}p" < $1 \
- | sed -e 's/\(0x[
[:xdigit:]]*\)[^0]*\(0x[[:xdigit:]
]*\).*/\1 \2/' \
+ | sed -e 's/\(0x[
0-9A-Fa-f]*\)[^0]*\(0x[0-9A-Fa-f
]*\).*/\1 \2/' \
| sort | ${AWKPROG}
elif [ "$3" = "UNICODE" ] ; then
# Source format is: